.mine {
  .ml-5 {
    margin-left: 10rpx;
  }

  .mt-17 {
    margin-top: 34rpx;
  }

  .ml-11 {
    margin-left: 22rpx;
  }

  .display-flex {
    display: flex;
  }

  .mr-auto {
    margin-right: auto !important;
  }

  &.page {
    background-color: #f8f8f8;
    height: 100vh;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;

    .section {
      padding: 24rpx 28rpx 100rpx 28rpx;

      /* 报名页面样式 */
      .registration-page {
        min-height: 100vh;
        background: #f5f5f5;
        padding-bottom: 120rpx;
      }

      /* 顶部横幅 */
      .banner-section {
        position: relative;
        height: 300rpx;
        overflow: hidden;
      }

      .banner-image {
        width: 100%;
        height: 100%;
      }

      .banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .banner-title {
        color: #fff;
        font-size: 36rpx;
        font-weight: bold;
      }

      /* 卡片通用样式 */
      .section-card {
        background: #fff;
        margin: 20rpx 0rpx;
        border-radius: 16rpx;
        padding: 32rpx;
        box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
      }

      .club-code-section {
        margin-top: 20rpx;

        .code-input {
          width: 100%;
          height: 80rpx;
          padding: 0 20rpx;
          background-color: #fff;
          border: 2rpx solid #e9ecef;
          border-radius: 8rpx;
          font-size: 28rpx;

          &:focus {
            border-color: #007aff;
          }
        }
      }

      /* 活动信息卡片 */
      .event-card {
        background: #fff;
        margin: 20rpx 0rpx;
        border-radius: 16rpx;
        padding: 32rpx;
        display: flex;
        align-items: center;
        box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
      }

      .event-thumbnail {
        position: relative;
        width: 120rpx;
        height: 120rpx;
        margin-right: 24rpx;
      }

      .thumbnail-image {
        width: 100%;
        height: 100%;
        border-radius: 12rpx;
      }

      .thumbnail-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 20rpx;
        font-weight: bold;
        writing-mode: vertical-rl;
        text-orientation: mixed;
      }

      .event-info {
        flex: 1;
      }

      .event-title {
        display: block;
        font-size: 32rpx;
        font-weight: bold;
        color: #333;
        margin-bottom: 16rpx;
        line-height: 1.4;
      }

      .event-time {
        font-size: 28rpx;
        color: #666;
      }

      .athlete-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 32rpx;
        background-color: #fff;
        border-radius: 16rpx;
        margin: 20rpx 0;
        box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
        border: 2rpx dashed #e0e0e0;

        .athlete-info {
          display: flex;
          align-items: center;
          flex: 1;
        }

        .athlete-avatar {
          width: 80rpx;
          height: 80rpx;
          border-radius: 50%;
          overflow: hidden;
          margin-right: 24rpx;
          border: 2rpx solid #f0f0f0;
        }

        .athlete-avatar image {
          width: 100%;
          height: 100%;
        }

        .athlete-details {
          display: flex;
          flex-direction: column;
          gap: 8rpx;
        }

        .athlete-name {
          font-size: 32rpx;
          color: #333;
          font-weight: 600;
          line-height: 1.2;
        }

        .athlete-mobile {
          font-size: 26rpx;
          color: #666;
          line-height: 1.2;
        }

        .switch-btn {
          display: flex;
          align-items: center;
          padding: 16rpx 24rpx;
          background: #f8f9fa;
          border-radius: 20rpx;
          border: 2rpx dashed #2196f3;
          transition: all 0.3s ease;

          &:active {
            transform: scale(0.95);
            background: #e3f2fd;
          }
        }

        .switch-text {
          color: #2196f3;
          font-size: 28rpx;
          font-weight: 500;
          margin-right: 8rpx;
        }

        .switch-icon {
          width: 32rpx;
          height: 32rpx;
        }
      }

      /* 区域标题 */
      .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 32rpx;
        padding-bottom: 16rpx;
        border-bottom: 2rpx solid #e9ecef;
      }

      .section-title {
        font-size: 32rpx;
        font-weight: bold;
        color: #333;
      }

      .section-limit {
        font-size: 24rpx;
        color: #999;
      }

      /* 项目列表 */
      .project-list {
        display: flex;
        flex-direction: column;
        gap: 24rpx;
      }

      .project-item {
        display: flex;
        align-items: center;
        padding: 24rpx;
        background: #f8f9fa;
        border-radius: 12rpx;
        transition: all 0.3s ease;

        &.selected {
          background: #e3f2fd;
          border: 2rpx solid #2196f3;
        }
      }

      .project-radio {
        margin-right: 24rpx;
      }

      .project-name {
        flex: 1;
        font-size: 30rpx;
        color: #333;
        font-weight: 500;
      }

      .project-action {
        color: #999;
        font-size: 26rpx;
      }

      /* 单选按钮样式 */
      .radio-circle {
        width: 40rpx;
        height: 40rpx;
        border: 2rpx solid #ddd;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;

        &.checked {
          border-color: #2196f3;
          background: #2196f3;
        }
      }

      .radio-check {
        color: #fff;
        font-size: 24rpx;
        font-weight: bold;
      }

      /* 赛事包列表 */
      .package-section {
        .package-action {
          display: flex;
          align-items: center;
          gap: 10rpx;
          color: #999;
          font-size: 26rpx;
          justify-content: flex-end;
          margin-right: 30rpx;

          .action-text {
            max-width: 400rpx;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }

          .action-arrow {
            font-size: 24rpx;
          }
        }
      }

      .package-popup {
        background-color: #fff;
        border-radius: 24rpx 24rpx 0 0;
        max-height: 80vh;

        .popup-header {
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 30rpx;
          border-bottom: 1rpx solid #f0f0f0;

          .popup-title {
            font-size: 32rpx;
            font-weight: bold;
            color: #333;
          }

          .close-btn {
            width: 60rpx;
            height: 60rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f5f5f5;
            border-radius: 50%;

            .close-text {
              color: #666;
              font-size: 32rpx;
            }
          }
        }

        .popup-content {
          padding: 20rpx;

          .package-list {
            .package-item {
              display: flex;
              align-items: center;
              padding: 20rpx;
              margin-bottom: 20rpx;
              background-color: #fff;
              border: 2rpx solid #e9ecef;
              border-radius: 12rpx;
              transition: all 0.3s ease;

              &.selected {
                border-color: #007aff;
                background-color: #f0f8ff;
              }

              .package-radio {
                margin-right: 20rpx;

                .radio-circle {
                  width: 40rpx;
                  height: 40rpx;
                  border: 2rpx solid #ddd;
                  border-radius: 50%;
                  display: flex;
                  align-items: center;
                  justify-content: center;

                  &.checked {
                    border-color: #007aff;
                    background-color: #007aff;
                  }

                  .radio-check {
                    color: #fff;
                    font-size: 24rpx;
                    font-weight: bold;
                  }
                }
              }

              .package-content {
                flex: 1;
                margin-right: 20rpx;

                .package-info {
                  .package-name {
                    display: block;
                    font-size: 28rpx;
                    font-weight: bold;
                    color: #333;
                    margin-bottom: 8rpx;
                  }

                  .package-source {
                    display: block;
                    font-size: 22rpx;
                    color: #999;
                  }
                }
              }

              .package-status {
                .status-selected {
                  background: #007aff;
                  color: #fff;
                  padding: 8rpx 16rpx;
                  border-radius: 20rpx;
                  font-size: 22rpx;
                  font-weight: bold;
                }

                .status-available {
                  background: #232f5b;
                  color: #fff;
                  padding: 8rpx 16rpx;
                  border-radius: 20rpx;
                  font-size: 22rpx;
                  font-weight: bold;
                }
              }
            }
          }

          .empty-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 100rpx 20rpx;

            .empty-text {
              font-size: 28rpx;
              color: #999;
            }
          }
        }
      }

      /* 俱乐部选项 */
      .club-options {
        display: flex;
        flex-direction: column;
        gap: 24rpx;
      }

      .club-option {
        display: flex;
        align-items: center;
        padding: 24rpx;
        background: #f8f9fa;
        border-radius: 12rpx;
      }

      .club-text {
        margin-left: 24rpx;
        font-size: 30rpx;
        color: #333;
      }

      /* 支付方式 */
      .payment-options {
        display: flex;
        flex-direction: column;
        gap: 24rpx;
      }

      .payment-option {
        display: flex;
        align-items: center;
        padding: 24rpx;
        background: #f8f9fa;
        border-radius: 12rpx;
      }

      .payment-text {
        margin-left: 24rpx;
        font-size: 30rpx;
        color: #333;
        flex: 1;
      }

      .ecoin-balance {
        font-size: 24rpx;
        color: #999;
      }

      /* 优惠券 */
      .coupon-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20rpx 0;

        .coupon-title {
          font-size: 30rpx;
          color: #333;
        }

        .coupon-action {
          display: flex;
          align-items: center;
          gap: 10rpx;
          color: #999;
          font-size: 26rpx;

          .action-text {
            max-width: 400rpx;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }

          .action-arrow {
            font-size: 24rpx;
          }
        }
      }

      /* 费用结算 */
      .cost-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .cost-title {
        font-size: 30rpx;
        color: #333;
      }

      .cost-amount {
        font-size: 36rpx;
        color: #ff5722;
        font-weight: bold;
      }

      /* 底部操作 */
      .bottom-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20rpx;
        box-shadow: 0 -4rpx 12rpx rgba(0, 0, 0, 0.1);
      }

      .submit-btn {
        width: 100%;
        height: 88rpx;
        background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
        color: #fff;
        border: none;
        border-radius: 44rpx;
        font-size: 32rpx;
        font-weight: bold;

        &:disabled {
          background: #ccc;
          opacity: 0.6;
        }

        &:active {
          transform: scale(0.98);
        }
      }
    }
  }

  .movable-area {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
  }

  .fab-container {
    pointer-events: auto;
    width: 100rpx;
    height: 100rpx;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.2);
  }

  .fab-icon {
    width: 100%;
    height: 100%;
  }

  .text-wrapper {
    width: 90%;
    height: 90rpx;
    background-color: #1D428A;
    box-shadow: 0rpx 0rpx 18rpx 0rpx #ee73500a;
    border-radius: 22rpx;
    border: unset !important;

    &::after {
      border: unset !important;
    }

    .text {
      color: #fff;
      font-size: 30rpx;
      font-family: 'PingFang SC';
      line-height: 90rpx;
    }
  }

  /* 优惠券选择弹窗样式 */
  .coupon-popup {
    background-color: #fff;
    border-radius: 24rpx 24rpx 0 0;
    max-height: 80vh;

    .popup-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 30rpx;
      border-bottom: 1rpx solid #f0f0f0;

      .popup-title {
        font-size: 32rpx;
        font-weight: bold;
        color: #333;
      }

      .close-btn {
        width: 60rpx;
        height: 60rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f5f5f5;
        border-radius: 50%;

        .close-text {
          color: #666;
          font-size: 32rpx;
        }
      }
    }

    .popup-content {
      padding: 20rpx;

      .coupon-list {
        .coupon-item {
          display: flex;
          background: #fff;
          border-radius: 8rpx;
          margin: 0 0 24rpx 0;
          border: 1rpx dashed #d9d9d9;
          overflow: hidden;
          position: relative;
          min-height: 150rpx;
          transition: all 0.3s ease;

          &.selected {
            border-color: #007aff;
            background-color: #f0f8ff;
            box-shadow: 0 2rpx 12rpx rgba(0, 122, 255, 0.2);
          }

          &.disabled {
            opacity: 0.6;
            background: #f5f5f5;
            color: #bbb;
          }

          // 金额区样式
          .coupon-amount {
            width: 190rpx;
            background: #232f5b;
            color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-radius: 8rpx 0 0 8rpx;
            margin-right: 16rpx;
            padding: 10rpx 20rpx;

            .amount {
              font-size: 40rpx;
              font-weight: bold;
              margin-bottom: 18rpx;
            }

            .limit {
              font-size: 20rpx;
            }
          }

          // 信息区样式
          .coupon-info {
            flex: 1;
            padding: 18rpx 8rpx 18rpx 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;

            .coupon-title {
              font-size: 28rpx;
              font-weight: bold;
              margin-bottom: 18rpx;
              color: #333333;
            }

            .coupon-date {
              font-size: 22rpx;
              color: #bbb;
            }
          }

          // 状态区样式
          .coupon-status {
            position: absolute;
            right: 15rpx;
            top: 50%;
            transform: translateY(-50%);

            .status-selected {
              background: #007aff;
              color: #fff;
              padding: 8rpx 16rpx;
              border-radius: 20rpx;
              font-size: 22rpx;
              font-weight: bold;
            }

            .status-available {
              background: #232f5b;
              color: #fff;
              padding: 8rpx 16rpx;
              border-radius: 20rpx;
              font-size: 22rpx;
              font-weight: bold;
            }

            .status-disabled {
              background: #bbb;
              color: #fff;
              padding: 8rpx 16rpx;
              border-radius: 20rpx;
              font-size: 22rpx;
              font-weight: bold;
            }
          }

          // 禁用状态下的金额区样式
          &.disabled .coupon-amount {
            background: #ccc;
            color: #fff;
          }
        }
      }

      .empty-state {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 100rpx 20rpx;

        .empty-text {
          font-size: 28rpx;
          color: #999;
        }
      }
    }
  }

  /* 赛事包选择弹窗样式（与优惠券弹窗同级，避免被.section作用域限制） */
  .package-popup {
    background-color: #fff;
    border-radius: 24rpx 24rpx 0 0;
    max-height: 80vh;

    .popup-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 30rpx;
      border-bottom: 1rpx solid #f0f0f0;

      .popup-title {
        font-size: 32rpx;
        font-weight: bold;
        color: #333;
      }

      .close-btn {
        width: 60rpx;
        height: 60rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f5f5f5;
        border-radius: 50%;

        .close-text {
          color: #666;
          font-size: 32rpx;
        }
      }
    }

    .popup-content {
      padding: 20rpx;

      .package-list {
        .package-item {
          display: flex;
          align-items: center;
          padding: 20rpx;
          margin-bottom: 20rpx;
          background-color: #fff;
          border: 2rpx solid #e9ecef;
          border-radius: 12rpx;
          transition: all 0.3s ease;

          &.selected {
            border-color: #007aff;
            background-color: #f0f8ff;
          }

          .package-radio {
            margin-right: 20rpx;

            .radio-circle {
              width: 40rpx;
              height: 40rpx;
              border: 2rpx solid #ddd;
              border-radius: 50%;
              display: flex;
              align-items: center;
              justify-content: center;

              &.checked {
                border-color: #007aff;
                background-color: #007aff;
              }

              .radio-check {
                color: #fff;
                font-size: 24rpx;
                font-weight: bold;
              }
            }
          }

          .package-content {
            flex: 1;
            margin-right: 20rpx;

            .package-info {
              .package-name {
                display: block;
                font-size: 28rpx;
                font-weight: bold;
                color: #333;
                margin-bottom: 8rpx;
              }

              .package-source {
                display: block;
                font-size: 22rpx;
                color: #999;
              }
            }
          }

          .package-status {
            .status-selected {
              background: #007aff;
              color: #fff;
              padding: 8rpx 16rpx;
              border-radius: 20rpx;
              font-size: 22rpx;
              font-weight: bold;
            }

            .status-available {
              background: #232f5b;
              color: #fff;
              padding: 8rpx 16rpx;
              border-radius: 20rpx;
              font-size: 22rpx;
              font-weight: bold;
            }
          }
        }
      }

      .empty-state {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 100rpx 20rpx;

        .empty-text {
          font-size: 28rpx;
          color: #999;
        }
      }
    }
  }

  /* 运动员选择弹窗样式 */
  .athlete-popup {
    background: #fff;
    border-radius: 24rpx 24rpx 0 0;
    max-height: 80vh;
    overflow: hidden;
  }

  .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32rpx;
    border-bottom: 1rpx solid #f0f0f0;
  }

  .popup-title {
    font-size: 36rpx;
    color: #333;
    font-weight: 600;
  }

  .close-btn {
    width: 60rpx;
    height: 60rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
  }

  .close-text {
    font-size: 40rpx;
    color: #666;
    line-height: 1;
  }

  .popup-content {
    padding: 0 32rpx 32rpx;
    max-height: 60vh;
    overflow-y: auto;
  }

  .empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200rpx;
  }

  .empty-text {
    color: #999;
    font-size: 28rpx;
  }

  .player-list {
    display: flex;
    flex-direction: column;
    gap: 20rpx;
  }

  .player-item {
    display: flex;
    align-items: center;
    padding: 24rpx;
    border-radius: 16rpx;
    border: 2rpx solid #f0f0f0;
    transition: all 0.3s ease;

    &:hover {
      border-color: #2196f3;
      background: #f8f9ff;
    }

    &.selected {
      border-color: #2196f3;
      background: #e3f2fd;
    }
  }

  .player-avatar {
    width: 80rpx;
    height: 80rpx;
    margin-right: 20rpx;
    border-radius: 50%;
    overflow: hidden;
  }

  .player-avatar image {
    width: 100%;
    height: 100%;
  }

  .player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8rpx;
  }

  .player-name {
    font-size: 32rpx;
    color: #333;
    font-weight: 600;
  }

  .player-id {
    font-size: 24rpx;
    color: #666;
  }

  .player-status {
    margin-left: 20rpx;
  }

  .status-selected {
    background: #2196f3;
    color: #fff;
    padding: 8rpx 16rpx;
    border-radius: 20rpx;
    font-size: 24rpx;
  }

  .status-unselected {
    background: #f5f5f5;
    color: #666;
    padding: 8rpx 16rpx;
    border-radius: 20rpx;
    font-size: 24rpx;
  }

  .status-text {
    font-size: 24rpx;
  }
}